package maildao

import (
	"github.com/gogf/gf/v2/frame/g"
	"xr-game-server/entity"
)

func GetAllSysMail() []*entity.SysMail {
	db := make([]*entity.SysMail, 0)
	g.Model(string(entity.TbSysMail)).Unscoped().Scan(&db)
	return db
}
